package com.dlxj.util.excel;

import java.util.HashMap;
import java.util.List;

public class ExportExcelBean {

	private List dataSource;
	private HashMap<String, String> properties;
	private String title;
	private List<String[]> footContent;
	private boolean insertRow = true;

	public ExportExcelBean() {

	}

	public ExportExcelBean(List dataSource, HashMap<String, String> properties,
			String title, List<String[]> footContent) {
		this.dataSource = dataSource;
		this.properties = properties;
		this.title = title;
		this.footContent = footContent;
	}

	public ExportExcelBean(List dataSource, HashMap<String, String> properties,
			String title, List<String[]> footContent, boolean insertRow) {
		this.dataSource = dataSource;
		this.properties = properties;
		this.title = title;
		this.footContent = footContent;
		this.insertRow = insertRow;
	}

	public ExportExcelBean(List dataSource, HashMap<String, String> properties,
			String title) {
		this.dataSource = dataSource;
		this.properties = properties;
		this.title = title;
	}

	public ExportExcelBean(List dataSource, HashMap<String, String> properties) {
		this.dataSource = dataSource;
		this.properties = properties;
	}

	public ExportExcelBean(List dataSource, HashMap<String, String> properties,
			List<String[]> footContent) {
		this.dataSource = dataSource;
		this.properties = properties;
		this.footContent = footContent;
	}

	public ExportExcelBean(List dataSource, HashMap<String, String> properties,
			List<String[]> footContent, boolean insertRow) {
		this.dataSource = dataSource;
		this.properties = properties;
		this.footContent = footContent;
		this.insertRow = insertRow;
	}

	public List getDataSource() {
		return dataSource;
	}

	public void setDataSource(List dataSource) {
		this.dataSource = dataSource;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public HashMap<String, String> getProperties() {
		return properties;
	}

	public void setProperties(HashMap<String, String> properties) {
		this.properties = properties;
	}

	public List<String[]> getFootContent() {
		return footContent;
	}

	public void setFootContent(List<String[]> footContent) {
		this.footContent = footContent;
	}

	public boolean isInsertRow() {
		return insertRow;
	}

	public void setInsertRow(boolean insertRow) {
		this.insertRow = insertRow;
	}

}
